﻿using System.Web.Mvc;
using Knetlik.Models;

namespace Knetlik.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
			return View(SessionsList.Instance);
        }

        public ActionResult Refresh()
        {
            SessionsList.UpdateList();
            return View("Index", SessionsList.Instance);
        }

        public ActionResult About()
        {
            return View();
        }
    }
}
